// 引入mongoose模块
const mongoose = require('mongoose')
// 引入modules里边的adminModule
const adminSchema = require('../schemas/adminSchema')

const adminModel = mongoose.model('admins',adminSchema)
// 导出
module.exports = adminModel